package channel

import "gitee.com/liuxuezhan/ar-platform/assets-rpc/internal/dao/schema"

const TableNameUserChannelEwallet = "user_channel_ewallet"

// UserChannelEwallet 用户通道【ewallet】
type UserChannelEwallet struct {
	schema.Model
	UserId   int64  `gorm:"type:bigint;not null;comment:用户ID"`
	Name     string `gorm:"type:varchar(255);not null;comment:账户名字"`
	Username string `gorm:"type:varchar(255);not null;comment:用户名字;"`
	Account  string `gorm:"type:varchar(32);not null;comment:账户/手机"`
}

func (*UserChannelEwallet) TableName() string {
	return TableNameUserChannelEwallet
}
